<?php

namespace Modules\Shop\Entities;

use Illuminate\Database\Eloquent\Model;

class Article extends Model
{
    protected $fillable = ['title','author','pid','content','thumb','click','iscommend'];
    public function category(){
    	return $this->belongsTo (Category::class,'pid','id');
	}
}
